﻿using System.Collections.Generic;
using Monkey.Warrenty.EntityModel;

namespace Monkey.Warrenty.Data.Interfaces
{
    public interface IEmployeeDao
    {
        Employee GetEmployeeByUserNamePassword(string userName, string password);
        List<Employee> GetAllEmployees();
        Employee AddEmployee(Employee employee);
        void UpdateEmployee(Employee employee);
        void DeleteEmployee(int employeeId);
        int GetMaxId();
        int GetCurrentIdentity();
        Employee GetById(int id);
        Employee GetByUserName(string userName);
    }
}
